angular.module('app').directive('appHead', ['cache', function (cache) {
  return {
    restrict: 'E',
    replace: true,
    templateUrl: 'view/template/head.html',
    link: function ($scope) {
      $scope.name = cache.get('name') || '';
    }
  }
}])
